<template>
  <div>
    <template v-if="$app.judgeData(orderInfo) && $app.judgeData(orLiInfo)">
      <Card>
        <div class="lineH34 c333 f_16 f_bold marginB10">作品信息</div>
        <div class="TJ_big paddingL30">
          <Row :gutter="15" class="TJ_box paddingB20">
            <Col :span="6" class="marginB10">
              <div>
                软件全称：
                <span class="cBlue">{{orderInfo.software_name}}</span>
              </div>
            </Col>
            <Col :span="6" class="marginB10">
              <div>
                软件简称：
                <span class="cBlue">{{orderInfo.software_short_name}}</span>
              </div>
            </Col>
            <Col :span="6" class="marginB10">
              <div>
                版本号：
                <span class="cBlue">{{orderInfo.version_no}}</span>
              </div>
            </Col>
            <Col :span="6" class="marginB10">
              <div>开发完成日期：{{orderInfo.finish_time}}</div>
            </Col>
            <Col :span="6" class="marginB10">
              <div>发表状态：{{zrM(orderInfo.publish_state)}}</div>
            </Col>
            <template v-if="orderInfo.publish_state==1">
              <Col :span="6" class="marginB10">
                <div>首次发表日期：{{orderInfo.publish_time}}</div>
              </Col>
              <Col :span="6" class="marginB10">
                <div>首次发表地点：中国 - {{orderInfo.publish_city}}</div>
              </Col>
            </template>
          </Row>
        </div>

        <div class="lineH34 c333 f_16 f_bold marginB10">权利说明</div>
        <div class="TJ_big paddingL30">
          <Row :gutter="15" class="TJ_box paddingB20">
            <Col :span="6" class="marginB10">
              <div>软件作品说明：原创</div>
            </Col>
            <Col :span="6" class="marginB10">
              <div>开发方式：独立开发</div>
            </Col>
            <Col :span="6" class="marginB10">
              <div>权利取得方式：原始取得</div>
            </Col>
            <Col :span="6">
              <div>权利范围：全部</div>
            </Col>
          </Row>
        </div>

        <div class="lineH34 c333 f_16 f_bold marginB10">技术特点</div>
        <div class="TJ_big paddingL30">
          <Row :gutter="15" class="TJ_box paddingB20">
            <Col :span="6" class="marginB10">
              <div>编程语言：{{orderInfo.program_lang}}</div>
            </Col>
            <Col :span="6" class="marginB10">
              <div>源程序量：{{orderInfo.code_row_num}}</div>
            </Col>
            <Col :span="6" class="marginB10">
              <div>硬件环境：{{orderInfo.hardware_env}}</div>
            </Col>
            <Col :span="6" class="marginB10">
              <div>软件环境：{{orderInfo.software_env}}</div>
            </Col>
            <Col :span="24" class="marginB10">
              <div>主要功能和技术特点：{{orderInfo.main_func}}</div>
            </Col>
          </Row>
        </div>

        <div class="lineH34 c333 f_16 f_bold marginB10">鉴别材料</div>
        <div class="TJ_big paddingL30 f_18">
          <div class="TJ_box">
            <div class="inlineBlock cBlue" style="margin-right:80px;">
              <div
                class="textLine"
                @click="$app.openWindow(orderInfo.code_word_file_path.file_url)"
              >
                <i class="iconfont marginR5 f_24 iconword"></i>
                源程序
              </div>
            </div>
            <div class="inlineBlock cBlue" style="margin-right:80px;">
              <div
                class="textLine"
                @click="$app.openWindow(orderInfo.desc_word_file_path.file_url)"
              >
                <i class="iconfont marginR5 f_24 iconword"></i>
                说明文档
              </div>
            </div>
            <div class="inlineBlock f_16" style="margin-right:80px;">
              <div class>一般交存：一种文档</div>
            </div>
          </div>
        </div>
      </Card>
    </template>
  </div>
</template>



<script>
export default {
  name: "middle",
  components: {},
  props: ["orderInfo", "orLiInfo"],
  data() {
    let data = {};
    let tool = {};
    return Object.assign(data, tool);
  },
  mounted() {},
  methods: {
    zrM(num) {
      let out = "";
      switch (parseInt(num)) {
        case 0:
          out = "未发表";
          break;
        case 1:
          out = "已发表";
          break;
      }

      return out;
    }
  }
};
</script>

